home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
669
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
706b
Path: netnews.jhuapl.edu!usenet
From: Stan Novinsky <stan_novinsky@jhuapl.edu>
Newsgroups: comp.std.c
Subject: Nested MACROS ??
Date: 29 Mar 1996 12:23:20 GMT
Organization: Johns Hopkins University Applied Physics Lab
Message-ID: <4jgkno$mrr@aplinfo.jhuapl.edu>
NNTP-Posting-Host: f3c-sjn.jhuapl.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (Macintosh; I; PPC)
X-URL: news:comp.std.c
I am using a nested MACRO. The problem is that only the
inner part is execur
Given the following MACRO definitions and code,
#define CUBE(X) ((x * x) * x)
#define ABS(X) ((x < 0) ? -(x) : (x))
#define NEST(X) (ABS(CUBE(X)))